package com.example.choupaiapp.main.bean

import java.io.Serializable

/**
 * Created by ASUS on 2020/5/12.
 */
class BlackListBean :Serializable{
    /**
     * msg : success
     * code : 0
     * page : {"totalCount":2,"pageSize":10,"totalPage":1,"currPage":1,"list":[{"id":5,"userId":8401,"byUserId":2,"createTime":"2019-11-13 17:48:06","nickname":"啦啦啦","avatar":"http://media.qmdl666.com/18888888888/VID201874152933.jpg"},{"id":4,"userId":8401,"byUserId":3,"createTime":"2019-11-13 17:47:56","nickname":"晋曝","avatar":"http://media.qmdl666.com/18812345678/VID2018123135250.jpg"}]}
     */

    private var msg: String? = null
    private var code: Int = 0
    private var page: PageBean? = null

    fun getMsg(): String? {
        return msg
    }

    fun setMsg(msg: String) {
        this.msg = msg
    }

    fun getCode(): Int {
        return code
    }

    fun setCode(code: Int) {
        this.code = code
    }

    fun getPage(): PageBean? {
        return page
    }

    fun setPage(page: PageBean) {
        this.page = page
    }

    class PageBean : Serializable {
        /**
         * totalCount : 2
         * pageSize : 10
         * totalPage : 1
         * currPage : 1
         * list : [{"id":5,"userId":8401,"byUserId":2,"createTime":"2019-11-13 17:48:06","nickname":"啦啦啦","avatar":"http://media.qmdl666.com/18888888888/VID201874152933.jpg"},{"id":4,"userId":8401,"byUserId":3,"createTime":"2019-11-13 17:47:56","nickname":"晋曝","avatar":"http://media.qmdl666.com/18812345678/VID2018123135250.jpg"}]
         */

        private var totalCount: Int = 0
        private var pageSize: Int = 0
        private var totalPage: Int = 0
        private var currPage: Int = 0
        private var list: List<ListBean>? = null

        fun getTotalCount(): Int {
            return totalCount
        }

        fun setTotalCount(totalCount: Int) {
            this.totalCount = totalCount
        }

        fun getPageSize(): Int {
            return pageSize
        }

        fun setPageSize(pageSize: Int) {
            this.pageSize = pageSize
        }

        fun getTotalPage(): Int {
            return totalPage
        }

        fun setTotalPage(totalPage: Int) {
            this.totalPage = totalPage
        }

        fun getCurrPage(): Int {
            return currPage
        }

        fun setCurrPage(currPage: Int) {
            this.currPage = currPage
        }

        fun getList(): List<ListBean>? {
            return list
        }

        fun setList(list: List<ListBean>) {
            this.list = list
        }

        class ListBean : Serializable {
            /**
             * id : 5
             * userId : 8401
             * byUserId : 2
             * createTime : 2019-11-13 17:48:06
             * nickname : 啦啦啦
             * avatar : http://media.qmdl666.com/18888888888/VID201874152933.jpg
             */

            private var id: Int = 0
            private var userId: Int = 0
            private var byUserId: Int = 0
            private var createTime: String? = null
            private var nickname: String? = null
            private var avatar: String? = null
            private var isDelete = 0

            fun getIsDelete(): Int {
                return isDelete
            }

            fun setIsDelete(isDelete: Int) {
                this.isDelete = isDelete
            }

            fun getId(): Int {
                return id
            }

            fun setId(id: Int) {
                this.id = id
            }

            fun getUserId(): Int {
                return userId
            }

            fun setUserId(userId: Int) {
                this.userId = userId
            }

            fun getByUserId(): Int {
                return byUserId
            }

            fun setByUserId(byUserId: Int) {
                this.byUserId = byUserId
            }

            fun getCreateTime(): String? {
                return createTime
            }

            fun setCreateTime(createTime: String) {
                this.createTime = createTime
            }

            fun getNickname(): String? {
                return nickname
            }

            fun setNickname(nickname: String) {
                this.nickname = nickname
            }

            fun getAvatar(): String? {
                return avatar
            }

            fun setAvatar(avatar: String) {
                this.avatar = avatar
            }
        }
    }
}